package beautiful.butterfly.drds.data_exchange.transport.record;


import beautiful.butterfly.drds.data_exchange.transport.record.column.Column;
import beautiful.butterfly.drds.data_exchange.transport.record.column.Record;

/**
 * 作为标示 生产者已经完成生产的标志
 */
public class TerminateRecord implements Record
{
    private final static TerminateRecord terminateRecord = new TerminateRecord();

    private TerminateRecord()
    {
    }

    public static TerminateRecord get()
    {
        return terminateRecord;
    }


    public void addColumn(Column column)
    {
    }

    public void setColumn(int index, Column column)
    {
        return;
    }

    public int getColumnListSize()
    {
        return 0;
    }


    public Column getColumn(int index)
    {
        return null;
    }


    public int getByteSize()
    {
        return 0;
    }


    public int getMemoryByteSize()
    {
        return 0;
    }


}
